package cn.iocoder.yudao.module.worker.controller.admin.goods.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import java.math.BigDecimal;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 商品管理 Response VO")
@Data
@ExcelIgnoreUnannotated
public class WorkerGoodsRespVO {

    @Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "23538")
    @ExcelProperty("编号")
    private Long id;

    @Schema(description = "名称", example = "张三")
    @ExcelProperty("名称")
    private String name;

    @Schema(description = "商品分类id", requiredMode = Schema.RequiredMode.REQUIRED, example = "22404")
    @ExcelProperty("商品分类id")
    private Long categoryId;

    @Schema(description = "商品分类父级id", example = "16807")
    @ExcelProperty("商品分类父级id")
    private Long categoryParentId;

    @Schema(description = "排序")
    @ExcelProperty("排序")
    private Integer weight;

    @Schema(description = "时长/小时")
    @ExcelProperty("时长/小时")
    private BigDecimal hour;

    @Schema(description = "盲盒价格", example = "24314")
    @ExcelProperty("盲盒价格")
    private BigDecimal price;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

    /**
     * 状态
     */
    private Boolean status;

}